@extends('layouts.admin')
@section('content')
    <script type="text/javascript" src="/js/admin/area.js"></script>
    <div id="cc" class="easyui-layout" style="width:1800px;height:800px;margin: 0 auto;">
    <div data-options="region:'west',title:'综合分析',split:true" style="width:300px;">
        <div class="easyui-accordion" style="height:300px;">
            <div title="企业统计" data-options="iconCls:'icon-search'" style="padding:10px;">
                <ul class="easyui-tree" id="easyui-tree">
                    <li data-options="level:1">
                        <span><a style="color: #000000" href="chart">{{$tree['name']}}</a></span>
                        <ul>
                        @foreach($tree['street'] as $k=>$v) 
                            <li data-options="level:3,area_id:'{{$v['id']}}'" state="closed">
                                <span> <a style="color: #000000" href="chartcontent?level=4&city={{$v['id']}}" target="myFrameName">{{$v['name']}}</a></span>
                                    <ul>
                                        <li>
                                        </li>
                                    </ul>
                            </li>
                            @endforeach

                        </ul>
                    </li>
                </ul>
            </div>
            <!-- <div title="检查情况统计" data-options="iconCls:'icon-search'" style="padding:10px;">
                <ul class="easyui-tree1" id="easyui-tree1">
                    <li data-options="level:1">
                        <span><a style="color: #000000" href="checkchart">{{$tree['name']}}</a></span>
                        <ul>
                        @foreach($tree['street'] as $k=>$v) 
                            <li data-options="level:3,area_id:'{{$v['id']}}'" state="closed">
                                <span> <a style="color: #000000" href="checkchart?level=3&city={{$v['id']}}" target="myFrameName">{{$v['name']}}</a></span>
                                    <ul>
                                        <li>
                                        </li>
                                    </ul>
                            </li>
                            @endforeach
                            
                        </ul>
                    </li>
                </ul>
            </div> -->
            <!-- <div title="检查频次统计" data-options="iconCls:'icon-search',onBeforeExpand:function(){self.location.href='checktimes'}" style="padding:10px;">
                <ul class="easyui-tree2" id="easyui-tree2">
                    <li data-options="level:1">
                        <span><a style="color: #000000" href="checktimes">{{$tree['name']}}</a></span>
                        <ul>
                        @foreach($tree['street'] as $k=>$v) 
                            <li data-options="level:3,area_id:'{{$v['id']}}'" state="closed">
                                <span> <a style="color: #000000" href="checktimes?level=3&city={{$v['id']}}" target="myFrameName">{{$v['name']}}</a></span>
                                    <ul>
                                        <li>
                                        </li>
                                    </ul>
                            </li>
                            @endforeach

                        </ul>
                    </li>
                </ul>
            </div> -->
        </div>
    </div>
    <div data-options="region:'center',title:'{{$cityname}}分类情况统计'" style="width: 1000px;padding:5px">
        <iframe id="myFrameId" name="myFrameName" src="chartcontent" scrolling="" frameborder="0" width="100%" height="1200px">
        </iframe>
    </div>
</div>
@endsection

